package com.ihandy.dubboprovider.service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.ihandy.dubboservice.service.ISearchDataService;
import org.springframework.stereotype.Service;

/**
 * 用途：
 * 祝文华 add by 2018/8/16 0016  0:17
 */
@Service
public class IShowDataService {

    @Reference
    ISearchDataService iSearchDataService;

    public void show(){
        String s = iSearchDataService.sayHello();
        System.out.println(s);
    }
}
